<?php
require_once 'mods/interface_storeable.php';
require_once 'mods/class_postgresql.php';
abstract class history implements storeable{
protected $id;
protected $uid;
protected $date;
protected $event;
protected $group;
protected $author;
protected $comment;
//protected $public;

function __contstruct(){}

function set_id($id){$this->id=$id;}
function set_uid($uid){$this->uid=$uid;}
function set_date($date){$this->date=$date;}
function set_event($event){$this->event=$event;}
function set_group($group){$this->group=$group;}
function set_author($author){$this->author=$author;}
function set_comment($comment){$this->comment=$comment;}
//function setPublic($public){$this->public=$public;}

function Set($id,$uid,$date,$event,$group,$author,$comment){
  $this->set_id($id);
  $this->set_uid($uid);
  $this->set_date($date);
  $this->set_event($event);
  $this->set_group($group);
  $this->set_author($author);
  $this->set_comment($comment);
}

function get_id(){return $this->id;}
function get_uid(){return $this->uid;}
function get_date(){return $this->date;}
function get_event(){return $this->event;}
function get_group(){return $this->group;}
function get_author(){return $this->author;}
function get_comment(){return $this->comment;}
//function getPublic(){return $this->public;}

public function insert(){}

public function update($arChanged){}

//abstract function load($id);
}
?>